package com.yixin.hospital.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
public class GoDownDrugVo {

    private Long id;

    private String drugCode;

    private Long purchaseOrderId;

    private Long drugDepositoryId;

    private String code;

    private Long operationId;

    private Integer supplier;

    private String source;

    private BigDecimal price;

    private String batchCode;

    private Date productTime;

    private Integer qualityTime;


    private Date expiration;

    private Integer putNum;
    private BigDecimal costPrice;
    private Integer status;

    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:hh:ss")
    private Date createdTime;

    private String updatedBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:hh:ss")
    private Date updatedTime;

    private Long drugTypeNum;
    private Long drugNum;
    private String drugDepositoryName;

    //detail
    private String drugName;
    private String drugCommonName;
    private String form;
    private String drugSpecs;
    private String minPurchaseNum;
    private String buyCycle;
    private String sourceNum;
    private String factoryName;
}
